﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<JobDescOnline.Presentation.Models.LevelCompetency>>" %>

<% foreach (var res in Model) { %>
    <tr valign="top">
        <td>
            <%= Html.Hidden("CompetencyID" + res.ID.ToString(), res.CompetencyID)%>
            <%= Html.TextBox("Level" + res.ID.ToString(), res.Level)%>
        </td>
        <td><%= Html.TextArea("Definition" + res.ID.ToString(), res.Definition)%></td>
        <td style="text-align: center">
            <input type="button" onclick="return SaveLevelCompetency(<%= res.ID.ToString() %>);" value="Simpan" />
            <input type="button" onclick="return DeleteLevelCompetency(<%= res.ID.ToString() %>);" value="Hapus" />
        </td>
    </tr>
<% } %>